﻿using System;
using Interface;

namespace Model
{
    public class Note : INote
    {
        #region Properties
        public IFbmData Did { get; set; }
        public double NewValue { get; set; }
        public double OldValue { get; set; }
        public string NDescription { get; set; }
        public DateTime NUpdateDate { get; set; }
        public IOperator Initilas { get; set; }
        #endregion

        public Note(IFbmData did, double newValue, double oldValue, string ndescription, DateTime nUpdateDate, IOperator initials)
        {
            Did = did;
            NewValue = newValue;
            OldValue = oldValue;
            NDescription = ndescription;
            NUpdateDate = nUpdateDate;
            Initilas = initials;
        }
    }
}